
///////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////// Table A5 - Median SCOTUS Ideology & No Term FE //////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
use Data_OPO_Master.dta, clear
keep if use==1


** A. All Cases

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median  i.coa_circuit  , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  mq_median using "TableA5_A.tex", nocons replace tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed   i.coa_circuit  , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median using "TableA5_A.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.coa_circuit  , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median  using "TableA5_A.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln   i.coa_circuit  , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  mq_median using "TableA5_A.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


** B. Civil Cases

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median  i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  mq_median using "TableA5_B.tex", nocons replace tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed   i.coa_circuit  if civil==1, cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median using "TableA5_B.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median  using "TableA5_B.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln   i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  mq_median using "TableA5_B.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)



** C. Criminal Cases

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median  i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  mq_median using "TableA5_C.tex", nocons replace tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed   i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median using "TableA5_C.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median  using "TableA5_C.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln   i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  mq_median using "TableA5_C.tex", nocons append tex dec(3) drop(mq_median coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)



